#set(seoTitle="搜索结果")
#@layout()
#define main()

<div class="aw-container-wrap">
	<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 aw-main-content">
					<div class="aw-mod aw-mod-search-result">
						<div class="mod-head">
							<div class="nav nav-tabs aw-nav-tabs ">
								<h2><p>搜索 - <span id="aw-search-type" style="color: red;">#(search)</span></p></h2>
							</div>
						</div>
						<div class="mod-body">
							<div class="tab-content">
								<div class="tab-pane active">
									<div id="search_result">
										#for(x : articleSearch.getList())
										<div class="aw-item active">
											<p class="aw-title">
												<a href="/detail/#(x.aid)" target="_blank">#(x.title)</a>
											</p>
											<p class="aw-text-color-666">
												<i class="icon icon-reply"></i>
												#(x.replyCount)个回复 • #(x.favoriteCount) 人关注
											</p>
										</div>
										#end
									</div>
								</div>
							</div>

							<!-- 分页 -->
							<div class="mod-footer">
								<div class="page-control">
									#@paginate(articleSearch.pageNumber, articleSearch.totalPage,  "/search?q=" + search + "&p=" )
								</div>
							</div>


						</div>						
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

#end